var rawData = require('./data.json');
var data = rawData.v.PassCheckList[0];
var edgesNode = [];
data.edges.forEach(item => {
    if (!edgesNode.includes(item.SourceOtransferId)) {
        edgesNode.push(item.SourceOtransferId)
    }
    if (!edgesNode.includes(item.TargetOtransferId)) {
        edgesNode.push(item.TargetOtransferId)
    }
})
var nodes = data.nodes.map(item => item.OtransferId)
console.log(edgesNode.length);
console.log(nodes.length);